Hi Grace,
The Step/Dir outputs for Step/Dir Generator #0 come out on IO 8 and 9 which are JP7 Pins 15 and 16.
Drives have various input types that require the signals to be either sinking or sourcing current. Depending on this you will also need to make a GND or +5V connection.
Next on the Config/Flash Screen push "Load Channel" and load the SimpleStepDirAxis0.mot Configuration.
Then on the Step Response Screen push "Move"
Your Motor should move.
If not cycle power on KFLOP and use the Digital IO screen to toggle Bit 8 to diagnose wiring/electrical problems.
Regards
TK
Group: DynoMotion |
Message: 2454 |
From: gracemckay |
Date: 11/27/2011 |
Subject: Re: Step Direction Set up for brushed servo |
Thanks, Tom,
Those links are what got me confused <smile>!
OK, let's see if I understand. I connect pin 15 to the Step input on the driver. I connect pin 16 to the direction input. I connect my step negative and direction negative to ground. And I say "ground" because the driver doesn't seem to care how I connect this-- they show three different wiring diagrams depending on what the controller wants- open collector, common cathode, and differential control-- are the terms they use. (In testing the servo system with a pulse generator this wiring worked.)
I am not afraid to hook this up, but I don;t want to blow up the kflop if I can help it.
Here is a link to the DCS810 driver manual.
http://www.leadshineusa.com/UploadFile/DCS810V1m.pdf
The signals are described on pdf page 6
Grace
--- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@...> wrote:
>
> Hi Grace,
> Â
> The Step/Dir outputs for Step/Dir Generator #0 come out on IO 8 and 9 which are JP7 Pins 15 and 16.
> Â
> This is described here
> Â
> Drives have various input types that require the signals to be either sinking or sourcing current. Depending on this you will also need to make a GND or +5V connection.
> Â
> More info here
> Â
> Next on the Config/Flash Screen push "Load Channel" and load the SimpleStepDirAxis0.mot Configuration.
> Â
> Then on the Step Response Screen push "Move"
> Â
> Your Motor should move.Â
> Â
> If not cycle power on KFLOP and use the Digital IO screen to toggle Bit 8 to diagnose wiring/electrical problems.
> Â
> Regards
> TK
>
> From: gracemckay <grace@...>
> To: DynoMotion@yahoogroups.com
> Sent: Sunday, November 27, 2011 11:51 AM
> Subject: [DynoMotion] Step Direction Set up for brushed servo
>
>
> Â
> I have my new kflop hooked up to my pc, and I have Kmotion installed. I have my new Winford breakout set up for J7. I have my servo motor, my servo driver, and power supply all hooked up and ready to go. I have a step/direction input on the servo driver.
>
> Next, I would like to test the servo system with the kflop/kmotion. I am having trouble understanding the documentation on which IO is needed for step/dir, and how to config the kmotion to to test this. Is there clear documentation anywhere that can get me through this? If not, could we talk about it here?
>
> I just created a photo folder called Film Scanner. I have put a couple of images in there so you can see progress on the project.
>
> Grace McKay
>
|
|
Group: DynoMotion |
Message: 2455 |
From: TK |
Date: 11/27/2011 |
Subject: Re: Step Direction Set up for brushed servo |
Hi Grace,
The specification requires more than 4V for an on and less than 0.5V for an off which KFLOP can't technically provide without adding a buffer chip. But most likely open collector mode may work. Connect their pulse+ to +5V and pulse- to the KFLOP output pin. This will result in ~4.5V for on and ~1.1V for off. If it doesn't work it will not cause any damage.
Regards
TK On Nov 27, 2011, at 12:43 PM, "gracemckay" <grace@...> wrote:
Thanks, Tom,
Those links are what got me confused <smile>!
OK, let's see if I understand. I connect pin 15 to the Step input on the driver. I connect pin 16 to the direction input. I connect my step negative and direction negative to ground. And I say "ground" because the driver doesn't seem to care how I connect this-- they show three different wiring diagrams depending on what the controller wants- open collector, common cathode, and differential control-- are the terms they use. (In testing the servo system with a pulse generator this wiring worked.)
I am not afraid to hook this up, but I don;t want to blow up the kflop if I can help it.
Here is a link to the DCS810 driver manual.
http://www.leadshineusa.com/UploadFile/DCS810V1m.pdf
The signals are described on pdf page 6
Grace
--- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@...> wrote:
>
> Hi Grace,
> Â
> The Step/Dir outputs for Step/Dir Generator #0 come out on IO 8 and 9 which are JP7 Pins 15 and 16.
> Â
> This is described here
> Â
> Drives have various input types that require the signals to be either sinking or sourcing current. Depending on this you will also need to make a GND or +5V connection.
> Â
> More info here
> Â
> Next on the Config/Flash Screen push "Load Channel" and load the SimpleStepDirAxis0.mot Configuration.
> Â
> Then on the Step Response Screen push "Move"
> Â
> Your Motor should move.Â
> Â
> If not cycle power on KFLOP and use the Digital IO screen to toggle Bit 8 to diagnose wiring/electrical problems.
> Â
> Regards
> TK
>
> From: gracemckay <grace@...>
> To: DynoMotion@yahoogroups.com
> Sent: Sunday, November 27, 2011 11:51 AM
> Subject: [DynoMotion] Step Direction Set up for brushed servo
>
>
> Â
> I have my new kflop hooked up to my pc, and I have Kmotion installed. I have my new Winford breakout set up for J7. I have my servo motor, my servo driver, and power supply all hooked up and ready to go. I have a step/direction input on the servo driver.
>
> Next, I would like to test the servo system with the kflop/kmotion. I am having trouble understanding the documentation on which IO is needed for step/dir, and how to config the kmotion to to test this. Is there clear documentation anywhere that can get me through this? If not, could we talk about it here?
>
> I just created a photo folder called Film Scanner. I have put a couple of images in there so you can see progress on the project.
>
> Grace McKay
>
|
|
Group: DynoMotion |
Message: 2456 |
From: Grace McKay |
Date: 11/27/2011 |
Subject: Re: Step Direction Set up for brushed servo |
Thanks Tom!
I got it to work, at least a little bit. So I didn't smoke
anything! I guess the next step is to see if I can make the motor
run using a c program. I'll take a stab at that tomorrow!
Grace McKay
ScanBox
High Definition Motion Scanning
Scanbox.tv
On 11/27/2011 1:26 PM, TK wrote:
Hi Grace,
The specification requires more than 4V for an on and
less than 0.5V for an off which KFLOP can't technically
provide without adding a buffer chip. But most likely open
collector mode may work. Connect their pulse+ to +5V and
pulse- to the KFLOP output pin. This will result in ~4.5V
for on and ~1.1V for off. If it doesn't work it will not
cause any damage.
Regards
TK
On Nov 27, 2011, at 12:43 PM, "gracemckay" < grace@...>
wrote:
Thanks, Tom,
Those links are what got me confused <smile>!
OK, let's see if I understand. I connect pin 15 to
the Step input on the driver. I connect pin 16 to
the direction input. I connect my step negative and
direction negative to ground. And I say "ground"
because the driver doesn't seem to care how I
connect this-- they show three different wiring
diagrams depending on what the controller wants-
open collector, common cathode, and differential
control-- are the terms they use. (In testing the
servo system with a pulse generator this wiring
worked.)
I am not afraid to hook this up, but I don;t want to
blow up the kflop if I can help it.
Here is a link to the DCS810 driver manual.
http://www.leadshineusa.com/UploadFile/DCS810V1m.pdf
The signals are described on pdf page 6
Grace
--- In DynoMotion@yahoogroups.com,
Tom Kerekes <tk@...> wrote:
>
> Hi Grace,
> Â
> The Step/Dir outputs for Step/Dir Generator #0
come out on IO 8 and 9 which are JP7 Pins 15 and 16.
> Â
> This is described here
> Â
> Drives have various input types that require
the signals to be either sinking or sourcing
current. Depending on this you will also need to
make a GND or +5V connection.
> Â
> More info here
> Â
> Next on the Config/Flash Screen push "Load
Channel" and load
the SimpleStepDirAxis0.mot Configuration.
> Â
> Then on the Step Response Screen push "Move"
> Â
> Your Motor should move.Â
> Â
> If not cycle power on KFLOP and use the Digital
IO screen to toggle Bit 8 to diagnose
wiring/electrical problems.
> Â
> Regards
> TK
>
> From: gracemckay <grace@...>
> To: DynoMotion@yahoogroups.com
> Sent: Sunday, November 27, 2011 11:51 AM
> Subject: [DynoMotion] Step Direction Set up for
brushed servo
>
>
> Â
> I have my new kflop hooked up to my pc, and I
have Kmotion installed. I have my new Winford
breakout set up for J7. I have my servo motor, my
servo driver, and power supply all hooked up and
ready to go. I have a step/direction input on the
servo driver.
>
> Next, I would like to test the servo system
with the kflop/kmotion. I am having trouble
understanding the documentation on which IO is
needed for step/dir, and how to config the kmotion
to to test this. Is there clear documentation
anywhere that can get me through this? If not, could
we talk about it here?
>
> I just created a photo folder called Film
Scanner. I have put a couple of images in there so
you can see progress on the project.
>
> Grace McKay
>
|
|
Group: DynoMotion |
Message: 2457 |
From: Tom Kerekes |
Date: 11/27/2011 |
Subject: Re: Step Direction Set up for brushed servo |
Hi Grace,
Try this:
#include "KMotionDef.h"
main() { MoveRel(0,1000); }
TK
Group: DynoMotion |
Message: 2459 |
From: quelisto |
Date: 11/28/2011 |
Subject: Re: Step Direction Set up for brushed servo |
Grace, you can use optoisolators as an alternative to do level conversion if you have a hard time finding the right level converting IC. Jameco has them pretty cheap. the only trouble with optoisolators is that your switching speed is limited to a few hundred kHz, which may or may not be a problem in your application.
--- In DynoMotion@yahoogroups.com, Grace McKay <grace@...> wrote:
>
>
> Thanks Tom!
>
> I got it to work, at least a little bit. So I didn't smoke anything! I
> guess the next step is to see if I can make the motor run using a c
> program. I'll take a stab at that tomorrow!
>
> Grace McKay
> ScanBox
> High Definition Motion Scanning
> *Scanbox.tv*
>
>
>
> On 11/27/2011 1:26 PM, TK wrote:
> > Hi Grace,
> >
> > The specification requires more than 4V for an on and less than 0.5V
> > for an off which KFLOP can't technically provide without adding a
> > buffer chip. But most likely open collector mode may work. Connect
> > their pulse+ to +5V and pulse- to the KFLOP output pin. This will
> > result in ~4.5V for on and ~1.1V for off. If it doesn't work it will
> > not cause any damage.
> >
> > Regards
> >
> > TK
> >
> > On Nov 27, 2011, at 12:43 PM, "gracemckay" <grace@...
> > <mailto:grace@...>> wrote:
> >
> >> Thanks, Tom,
> >>
> >> Those links are what got me confused <smile>!
> >>
> >> OK, let's see if I understand. I connect pin 15 to the Step input on
> >> the driver. I connect pin 16 to the direction input. I connect my
> >> step negative and direction negative to ground. And I say "ground"
> >> because the driver doesn't seem to care how I connect this-- they
> >> show three different wiring diagrams depending on what the controller
> >> wants- open collector, common cathode, and differential control-- are
> >> the terms they use. (In testing the servo system with a pulse
> >> generator this wiring worked.)
> >>
> >> I am not afraid to hook this up, but I don;t want to blow up the
> >> kflop if I can help it.
> >>
> >> Here is a link to the DCS810 driver manual.
> >> http://www.leadshineusa.com/UploadFile/DCS810V1m.pdf
> >> The signals are described on pdf page 6
> >>
> >> Grace
> >>
> >> --- In DynoMotion@yahoogroups.com
> >> <mailto:DynoMotion%40yahoogroups.com>, Tom Kerekes <tk@> wrote:
> >> >
> >> > Hi Grace,
> >> > Ã
> >> > The Step/Dir outputs for Step/Dir Generator #0 come out on IO 8 and
> >> 9 which are JP7 Pins 15 and 16.
> >> > Ã
> >> > This is described here
> >> > Ã
> >> > Drives have various input types that require the signals to be
> >> either sinking or sourcing current.Ã Depending on this you will also
> >> need to make a GND or +5V connection.
> >> > Ã
> >> > More info here
> >> > Ã
> >> > Next on the Config/Flash Screen pushà "Load Channel" and load
> >> theà SimpleStepDirAxis0.motà Configuration.
> >> > Ã
> >> > Then on the Step Response Screen push "Move"
> >> > Ã
> >> > Your Motor should move.Ã
> >> > Ã
> >> > If not cycle power on KFLOP and use the Digital IO screen to toggle
> >> Bit 8 to diagnose wiring/electrical problems.
> >> > Ã
> >> > Regards
> >> > TK
> >> >
> >> > From: gracemckay <grace@>
> >> > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> >> > Sent: Sunday, November 27, 2011 11:51 AM
> >> > Subject: [DynoMotion] Step Direction Set up for brushed servo
> >> >
> >> >
> >> > Ã
> >> > I have my new kflop hooked up to my pc, and I have Kmotion
> >> installed. I have my new Winford breakout set up for J7. I have my
> >> servo motor, my servo driver, and power supply all hooked up and
> >> ready to go. I have a step/direction input on the servo driver.
> >> >
> >> > Next, I would like to test the servo system with the kflop/kmotion.
> >> I am having trouble understanding the documentation on which IO is
> >> needed for step/dir, and how to config the kmotion to to test this.
> >> Is there clear documentation anywhere that can get me through this?
> >> If not, could we talk about it here?
> >> >
> >> > I just created a photo folder called Film Scanner. I have put a
> >> couple of images in there so you can see progress on the project.
> >> >
> >> > Grace McKay
> >> >
> >>
> >
>
|
|
Group: DynoMotion |
Message: 2466 |
From: M.T.S.S. |
Date: 11/28/2011 |
Subject: Re: Step Direction Set up for brushed servo |
Hello Grace
Regards opto-isolation:
- frequency up to 5MHz - pulse shaping using integrated Schmitt trigger gate ( additional noise immunity)
I've got successfully integrated this IC with stepper drivers - now I'm going to do between Kflop and BLDC (step/dir) power driver we will see how it go :)
I hope this will help...
Mateusz On 28 November 2011 20:10, quelisto <quelisto@...> wrote:
Grace, you can use optoisolators as an alternative to do level conversion if you have a hard time finding the right level converting IC. Jameco has them pretty cheap. the only trouble with optoisolators is that your switching speed is limited to a few hundred kHz, which may or may not be a problem in your application.
--- In DynoMotion@yahoogroups.com, Grace McKay <grace@...> wrote:
>
>
> Thanks Tom!
>
> I got it to work, at least a little bit. So I didn't smoke anything! I
> guess the next step is to see if I can make the motor run using a c
> program. I'll take a stab at that tomorrow!
>
> Grace McKay
> ScanBox
> High Definition Motion Scanning
> *Scanbox.tv*
>
>
>
> On 11/27/2011 1:26 PM, TK wrote:
> > Hi Grace,
> >
> > The specification requires more than 4V for an on and less than 0.5V
> > for an off which KFLOP can't technically provide without adding a
> > buffer chip. But most likely open collector mode may work. Connect
> > their pulse+ to +5V and pulse- to the KFLOP output pin. This will
> > result in ~4.5V for on and ~1.1V for off. If it doesn't work it will
> > not cause any damage.
> >
> > Regards
> >
> > TK
> >
> > On Nov 27, 2011, at 12:43 PM, "gracemckay" <grace@...
> > <mailto: grace@...>> wrote:
> >
> >> Thanks, Tom,
> >>
> >> Those links are what got me confused <smile>!
> >>
> >> OK, let's see if I understand. I connect pin 15 to the Step input on
> >> the driver. I connect pin 16 to the direction input. I connect my
> >> step negative and direction negative to ground. And I say "ground"
> >> because the driver doesn't seem to care how I connect this-- they
> >> show three different wiring diagrams depending on what the controller
> >> wants- open collector, common cathode, and differential control-- are
> >> the terms they use. (In testing the servo system with a pulse
> >> generator this wiring worked.)
> >>
> >> I am not afraid to hook this up, but I don;t want to blow up the
> >> kflop if I can help it.
> >>
> >> Here is a link to the DCS810 driver manual.
> >> http://www.leadshineusa.com/UploadFile/DCS810V1m.pdf
> >> The signals are described on pdf page 6
> >>
> >> Grace
> >>
> >> --- In DynoMotion@yahoogroups.com
> >> <mailto: DynoMotion%40yahoogroups.com>, Tom Kerekes <tk@> wrote:
> >> >
> >> > Hi Grace,
> >> > Â
> >> > The Step/Dir outputs for Step/Dir Generator #0 come out on IO 8 and
> >> 9 which are JP7 Pins 15 and 16.
> >> > Â
> >> > This is described here
> >> > Â
> >> > Drives have various input types that require the signals to be
> >> either sinking or sourcing current. Depending on this you will also
> >> need to make a GND or +5V connection.
> >> > Â
> >> > More info here
> >> > Â
> >> > Next on the Config/Flash Screen push "Load Channel" and load
> >> the SimpleStepDirAxis0.mot Configuration.
> >> > Â
> >> > Then on the Step Response Screen push "Move"
> >> > Â
> >> > Your Motor should move.Â
> >> > Â
> >> > If not cycle power on KFLOP and use the Digital IO screen to toggle
> >> Bit 8 to diagnose wiring/electrical problems.
> >> > Â
> >> > Regards
> >> > TK
> >> >
> >> > From: gracemckay <grace@>
> >> > To: DynoMotion@yahoogroups.com <mailto: DynoMotion%40yahoogroups.com>
> >> > Sent: Sunday, November 27, 2011 11:51 AM
> >> > Subject: [DynoMotion] Step Direction Set up for brushed servo
> >> >
> >> >
> >> > Â
> >> > I have my new kflop hooked up to my pc, and I have Kmotion
> >> installed. I have my new Winford breakout set up for J7. I have my
> >> servo motor, my servo driver, and power supply all hooked up and
> >> ready to go. I have a step/direction input on the servo driver.
> >> >
> >> > Next, I would like to test the servo system with the kflop/kmotion.
> >> I am having trouble understanding the documentation on which IO is
> >> needed for step/dir, and how to config the kmotion to to test this.
> >> Is there clear documentation anywhere that can get me through this?
> >> If not, could we talk about it here?
> >> >
> >> > I just created a photo folder called Film Scanner. I have put a
> >> couple of images in there so you can see progress on the project.
> >> >
> >> > Grace McKay
> >> >
> >>
> >
>
|
|
Group: DynoMotion |
Message: 2467 |
From: albertplatek |
Date: 11/29/2011 |
Subject: Re: Step Direction Set up for brushed servo |
Hi Grace Also as an alternative you can use quad-channeldigital isolators ADuM1400ARW, which works with my stepper drivers. http://www.analog.com/static/imported-files/data_sheets/ADuM1400_1401_1402.pdf The advantage of using digital isolators is that they remove the design difficulties, you donâtneed to add any resistors to circuit, only 2 bypass capacitors (1 on either side). These digital isolators operate with the supply voltage on either side ranging from 2.7 V to 5.5 V, providing compatibility with lower voltage systems as well as enabling a voltage translation functionality across the isolation barrier. Parameter | Symbol | Min | Typ | Max | Unit | Test Conditions | SWITCHING SPECIFICATIONS | ADuM140xARW | Maximum Data Rate | 1 | Mbps | CL = 15 pF, CMOS signal levels | Propagation Delay | tPHL, tPLH | 50 | 65 | 100 | ns | CL = 15 pF, CMOS signal levels |
Regards Albert --- In DynoMotion@yahoogroups.com, "M.T.S.S." <matemos@...> wrote: > > Hello Grace > > Regards opto-isolation: > If I can, I would suggest very fast H11N1M ..... > http://www.fairchildsemi.com/ds/H1/H11N1M.pdf > - frequency up to 5MHz > - pulse shaping using integrated Schmitt trigger gate ( additional noise > immunity) > > If cheaper version required there is 1MHz version: > http://www.fairchildsemi.com/ds/H1/H11L1M.pdf (this version is good enough > for you due to limited input speed in your driver) > > I've got successfully integrated this IC with stepper drivers - now I'm > going to do between Kflop and BLDC (step/dir) power driver we will see how > it go :) > > I hope this will help... > > Mateusz > > On 28 November 2011 20:10, quelisto quelisto@... wrote: > > > ** > > > > > > Grace, you can use optoisolators as an alternative to do level conversion > > if you have a hard time finding the right level converting IC. Jameco has > > them pretty cheap. the only trouble with optoisolators is that your > > switching speed is limited to a few hundred kHz, which may or may not be a > > problem in your application. > > > > > > --- In DynoMotion@yahoogroups.com, Grace McKay grace@ wrote: > > > > > > > > > Thanks Tom! > > > > > > I got it to work, at least a little bit. So I didn't smoke anything! I > > > guess the next step is to see if I can make the motor run using a c > > > program. I'll take a stab at that tomorrow! > > > > > > Grace McKay > > > ScanBox > > > High Definition Motion Scanning > > > *Scanbox.tv* > > > > > > > > > > > > > > On 11/27/2011 1:26 PM, TK wrote: > > > > Hi Grace, > > > > > > > > The specification requires more than 4V for an on and less than 0.5V > > > > for an off which KFLOP can't technically provide without adding a > > > > buffer chip. But most likely open collector mode may work. Connect > > > > their pulse+ to +5V and pulse- to the KFLOP output pin. This will > > > > result in ~4.5V for on and ~1.1V for off. If it doesn't work it will > > > > not cause any damage. > > > > > > > > Regards > > > > > > > > TK > > > > > > > > On Nov 27, 2011, at 12:43 PM, "gracemckay" grace@ > > > > <mailto:grace@> wrote: > > > > > > > >> Thanks, Tom, > > > >> > > > >> Those links are what got me confused <smile>! > > > >> > > > >> OK, let's see if I understand. I connect pin 15 to the Step input on > > > >> the driver. I connect pin 16 to the direction input. I connect my > > > >> step negative and direction negative to ground. And I say "ground" > > > >> because the driver doesn't seem to care how I connect this-- they > > > >> show three different wiring diagrams depending on what the controller > > > >> wants- open collector, common cathode, and differential control-- are > > > >> the terms they use. (In testing the servo system with a pulse > > > >> generator this wiring worked.) > > > >> > > > >> I am not afraid to hook this up, but I don;t want to blow up the > > > >> kflop if I can help it. > > > >> > > > >> Here is a link to the DCS810 driver manual. > > > >> http://www.leadshineusa.com/UploadFile/DCS810V1m.pdf > > > >> The signals are described on pdf page 6 > > > >> > > > >> Grace > > > >> > > > >> --- In DynoMotion@yahoogroups.com > > > >> <mailto:DynoMotion%40yahoogroups.com>, Tom Kerekes <tk@> wrote: > > > >> > > > > >> > Hi Grace, > > > >> > à > > > > > >> > The Step/Dir outputs for Step/Dir Generator #0 come out on IO 8 and > > > >> 9 which are JP7 Pins 15 and 16. > > > >> > à > > > >> > This is described here > > > >> > à > > > > > >> > Drives have various input types that require the signals to be > > > >> either sinking or sourcing current.à Depending on this you will also > > > >> need to make a GND or +5V connection. > > > >> > à > > > >> > More info here > > > >> > à > > > >> > Next on the Config/Flash Screen pushà "Load Channel" and load > > > >> theà SimpleStepDirAxis0.motà Configuration. > > > >> > à > > > > > >> > Then on the Step Response Screen push "Move" > > > >> > à > > > >> > Your Motor should move.à > > > >> > à > > > > > >> > If not cycle power on KFLOP and use the Digital IO screen to toggle > > > >> Bit 8 to diagnose wiring/electrical problems. > > > >> > à > > > >> > Regards > > > >> > TK > > > >> > > > > >> > From: gracemckay <grace@> > > > >> > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com > > > > > > > > >> > Sent: Sunday, November 27, 2011 11:51 AM > > > >> > Subject: [DynoMotion] Step Direction Set up for brushed servo > > > >> > > > > >> > > > > >> > à > > > > > >> > I have my new kflop hooked up to my pc, and I have Kmotion > > > >> installed. I have my new Winford breakout set up for J7. I have my > > > >> servo motor, my servo driver, and power supply all hooked up and > > > >> ready to go. I have a step/direction input on the servo driver. > > > >> > > > > >> > Next, I would like to test the servo system with the kflop/kmotion. > > > >> I am having trouble understanding the documentation on which IO is > > > >> needed for step/dir, and how to config the kmotion to to test this. > > > >> Is there clear documentation anywhere that can get me through this? > > > >> If not, could we talk about it here? > > > >> > > > > >> > I just created a photo folder called Film Scanner. I have put a > > > >> couple of images in there so you can see progress on the project. > > > >> > > > > >> > Grace McKay > > > >> > > > > >> > > > > > > > > > > > > > >
|
|
Group: DynoMotion |
Message: 2468 |
From: Grace McKay |
Date: 11/29/2011 |
Subject: Re: Step Direction Set up for brushed servo |
Thanks, guys, for the info on level conversion and optoisolators--
I found a couple of items on Sparkfun http://www.sparkfun.com/products/9118
and http://www.sparkfun.com/products/8745
that I thought might work. But I am unsure whether I need anything
at all. (By the way, the servo driver has an optoisolator stage
built-in. Maybe that is why it is working) The motor is now turning
in response to Kmotion commands on the test screen. And to simple c
programs as well. How do I tell if what I have is working correctly
or not? I have not yet mastered any of the graphs that the testing
screens generate so that is not much help.
I am afraid my learning curve is much earlier that jumping right to
the chip-level design stage. <smile>
Grace McKay
ScanBox
High Definition Motion Scanning
Scanbox.tv
On 11/28/2011 11:57 PM, M.T.S.S. wrote:
Hello Grace
Regards opto-isolation:
- frequency up to 5MHz
- pulse shaping using integrated Schmitt trigger gate (
additional noise immunity)
I've got successfully integrated this IC with stepper
drivers - now I'm going to do between Kflop and BLDC
(step/dir) power driver we will see how it go :)
I hope this will help...
Mateusz
On 28 November 2011 20:10,
quelisto <quelisto@...>
wrote:
Grace, you can use optoisolators as an
alternative to do level conversion if you
have a hard time finding the right level
converting IC. Jameco has them pretty cheap.
the only trouble with optoisolators is that
your switching speed is limited to a few
hundred kHz, which may or may not be a
problem in your application.
--- In DynoMotion@yahoogroups.com,
Grace McKay <grace@...> wrote:
>
>
> Thanks Tom!
>
> I got it to work, at least a little
bit. So I didn't smoke anything! I
> guess the next step is to see if I can
make the motor run using a c
> program. I'll take a stab at that
tomorrow!
>
> Grace McKay
> ScanBox
> High Definition Motion Scanning
> *Scanbox.tv*
>
>
>
> On 11/27/2011 1:26 PM, TK wrote:
> > Hi Grace,
> >
> > The specification requires more
than 4V for an on and less than 0.5V
> > for an off which KFLOP can't
technically provide without adding a
> > buffer chip. But most likely open
collector mode may work. Connect
> > their pulse+ to +5V and pulse- to
the KFLOP output pin. This will
> > result in ~4.5V for on and ~1.1V
for off. If it doesn't work it will
> > not cause any damage.
> >
> > Regards
> >
> > TK
> >
> > On Nov 27, 2011, at 12:43 PM,
"gracemckay" <grace@...
> > <mailto: grace@...>>
wrote:
> >
> >> Thanks, Tom,
> >>
> >> Those links are what got me
confused <smile>!
> >>
> >> OK, let's see if I understand.
I connect pin 15 to the Step input on
> >> the driver. I connect pin 16
to the direction input. I connect my
> >> step negative and direction
negative to ground. And I say "ground"
> >> because the driver doesn't
seem to care how I connect this-- they
> >> show three different wiring
diagrams depending on what the controller
> >> wants- open collector, common
cathode, and differential control-- are
> >> the terms they use. (In
testing the servo system with a pulse
> >> generator this wiring worked.)
> >>
> >> I am not afraid to hook this
up, but I don;t want to blow up the
> >> kflop if I can help it.
> >>
> >> Here is a link to the DCS810
driver manual.
> >> http://www.leadshineusa.com/UploadFile/DCS810V1m.pdf
> >> The signals are described on
pdf page 6
> >>
> >> Grace
> >>
> >> --- In DynoMotion@yahoogroups.com
> >> <mailto: DynoMotion%40yahoogroups.com>,
Tom Kerekes <tk@> wrote:
> >> >
> >> > Hi Grace,
> >> > Â
> >> > The Step/Dir outputs for
Step/Dir Generator #0 come out on IO 8 and
> >> 9 which are JP7 Pins 15 and
16.
> >> > Â
> >> > This is described here
> >> > Â
> >> > Drives have various input
types that require the signals to be
> >> either sinking or sourcing
current. Depending on this you will also
> >> need to make a GND or +5V
connection.
> >> > Â
> >> > More info here
> >> > Â
> >> > Next on the Config/Flash
Screen push "Load Channel" and load
> >> the SimpleStepDirAxis0.motÂ
Configuration.
> >> > Â
> >> > Then on the Step Response
Screen push "Move"
> >> > Â
> >> > Your Motor should move.Â
> >> > Â
> >> > If not cycle power on
KFLOP and use the Digital IO screen to
toggle
> >> Bit 8 to diagnose
wiring/electrical problems.
> >> > Â
> >> > Regards
> >> > TK
> >> >
> >> > From: gracemckay
<grace@>
> >> > To: DynoMotion@yahoogroups.com
<mailto: DynoMotion%40yahoogroups.com>
> >> > Sent: Sunday, November
27, 2011 11:51 AM
> >> > Subject: [DynoMotion]
Step Direction Set up for brushed servo
> >> >
> >> >
> >> > Â
> >> > I have my new kflop
hooked up to my pc, and I have Kmotion
> >> installed. I have my new
Winford breakout set up for J7. I have my
> >> servo motor, my servo driver,
and power supply all hooked up and
> >> ready to go. I have a
step/direction input on the servo driver.
> >> >
> >> > Next, I would like to
test the servo system with the
kflop/kmotion.
> >> I am having trouble
understanding the documentation on which IO
is
> >> needed for step/dir, and how
to config the kmotion to to test this.
> >> Is there clear documentation
anywhere that can get me through this?
> >> If not, could we talk about it
here?
> >> >
> >> > I just created a photo
folder called Film Scanner. I have put a
> >> couple of images in there so
you can see progress on the project.
> >> >
> >> > Grace McKay
> >> >
> >>
> >
>
|
|
Group: DynoMotion |
Message: 2471 |
From: Tom Kerekes |
Date: 11/29/2011 |
Subject: Re: Step Direction Set up for brushed servo |
Hi Grace,
Most likely you are ok. Even though the spec says you must be below 0.5V most any LED requires at least 1.2V to even begin to start to turn on. You might run into problems if your +5V is high. For example +5.5V.
Without encoder feedback you can't really tell from the plots if any of the step pulses are lost. Move your motor to some Destination and mark the position, then move the motor at various speeds and directions for a while and then move back to the same Destination. If the physical position is the same as when you started then you probably aren't loosing any counts and are ok.
Regards
TK
| | | | | |